#include "fxcc/yml/Serializer.h"
#include "fxcc/core/graph/common/OrthoCamera.h"

using namespace fxcc::yml;
using CurrentType = fxcc::graph::common::OrthoCamera;;

template<>
void Serializer::Encode<CurrentType>(YAML::Node& node, const CurrentType& inst)
{
	Encode<fxcc::graph::common::Transform>(node, inst);
	Encode<fxcc::graph::common::Viewport>(node, inst);

}


template<>
bool Serializer::Decode<CurrentType>(const YAML::Node& node, CurrentType& inst)
{

	Decode<fxcc::graph::common::Transform>(node, inst);
	Decode<fxcc::graph::common::Viewport>(node, inst);

	return true;
}
